<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Data</title>
    </head>
    <body>
        <h:panelGrid id="date" columns="2">
            <f:event type="postValidate" listener="#{data.validarData}"/>
            
            (dia)
            <h:inputText id="dia" value="#{data.dia}" size="2" required="true"/>

            (mes)
            <h:inputText id="mes" value="#{data.mes}" size="2" required="true"/>

            (ano)
            <h:inputText id="ano" value="#{data.ano}" size="4" required="true"/>
        </h:panelGrid>
    </body>
</html>
